package org.ykh.gmall.activity;

import org.ykh.gmall.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;

@Data
@Schema(description = "CouponRange")
@TableName("coupon_range")
public class CouponRange extends BaseEntity {
   
   private static final long serialVersionUID = 1L;
   
   @SchemaProperty(name = "优惠券id")
   @TableField("coupon_id")
   private Long couponId;

   @SchemaProperty(name = "范围类型")
   @TableField("range_type")
   private String rangeType;

   @SchemaProperty(name = "rangeId")
   @TableField("range_id")
   private Long rangeId;

}